Skip to content

Resolved bug in transparent png tile #144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 10, 2020

Conversation

scubajorgen
Copy link
Contributor

Thanx for the marvelous tile server!!!
The unpack() function was used which is used to process binary data into an array of php variables. However, the pack() function is needed to convert the hex string into binary data. The format is "H*" i.s.o. "H", indicating multiple hex bytes i.s.o. 1.
If a non-existing tile is requested, now a 256x256 transparent tile is returned.

@scubajorgen
Copy link
Contributor Author

Ah! See #104 also solves this issue...

@idanka
Copy link

idanka commented Aug 6, 2020

Works, i use php 7.4 no error

54254f8

@daliborjanak daliborjanak merged commit eb571b5 into maptiler:master Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants